'use strict';

module.exports = appInfo => {
  const config = exports = {};

  // use for cookie sign key, should change to your own and keep security
  config.keys = appInfo.name + '_1529741833333_254';

  // add your config here
  config.middleware = [];
  config.security={
    csrf:{
      enable:false
    }
  }
  config.cors = {
    origin: '*',
    allowMethods: 'GET,HEAD,PUT,POST,DELETE,PATCH'
  };
  config.sqlite3 = {
    database:'sc.db'
  };
  return config;
};
